package jwd.page.shop

import android.annotation.SuppressLint
import android.databinding.DataBindingUtil
import android.os.Bundle
import android.view.View
import jwd.base.BaseFragment
import jwd.model.LoginInfo
import jwd.pzx.R
import jwd.pzx.databinding.ActivityShopBinding


/**
 * Created by udi on 17-7-31.
 */

class ShopFragment @SuppressLint("ValidFragment")
constructor(var data: String = "") : BaseFragment(R.layout.activity_shop) {

    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)

    }


    override fun onViewCreated(view: View?, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)

        var d = DataBindingUtil.bind<ActivityShopBinding>(view)

        d.user = LoginInfo(data)
    }

}
